<?php

$num = array(1,3,5,7,9);
echo "forech输出================\n";
foreach ($num as $n) {
    echo $n . "\n";
}

echo "for输出================\n";
for ($i = 0; $i < count($num); $i++) {
    echo $num[$i] . "\n";
}

?>
